package cn.ddy.beans;

/**
 * @author ddy
 * @create 2020-08-14 13:59:54
 */
public class HelloWorld {

    public HelloWorld() {
        System.out.println("构造方法执行....");
    }
    private String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void sayHello() {
        System.out.println("hello:"+name);
    }

    public void hello(String name){
        System.out.println(name+",Hello World!!!");
    }

}
